package com.czxy.demo04;

/**
 * Created by hp on 2020/1/31.
 */
public class RentalHouse extends Car {
    double rent(Car car,int mouth){
        return mouth*car.getPrice();
    }
}
